﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AlumniProject.Framework;

namespace AlumniProject
{
    public partial class DangKyCSV : System.Web.UI.UserControl
    {
        TaiKhoanAccess _taikhoan = new TaiKhoanAccess();
        protected void Page_Load(object sender, EventArgs e)
        {
            var tinhthanh = _taikhoan.TinhThanhFull();
            ddrTinh.DataSource = tinhthanh;
            ddrTinh.DataValueField = "MaTinh";
            ddrTinh.DataTextField = "TenTinh";
            ddrLinhVuc.DataSource = tinhthanh;
            ddrLinhVuc.DataValueField = "MaTinh";
            ddrLinhVuc.DataTextField = "TenTinh";
            ddrTinh.DataBind();
            ddrLinhVuc.DataBind();
        }

        protected void btnDangKyCSV_Click(object sender, EventArgs e)
        {

        }
    }
}